
module.exports = function ext( ResNames ){
    let entities = {}
    for( let idx in ResNames ) {
        const field = ResNames[ idx ]
        const truePath = field.path
        const entity = require( truePath )
        entities[ field.name ] = entity 
    }

    return entities 
}
